---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "clickhouse_db Resource - terraform-provider-clickhouse"
subcategory: ""
description: |-
  Resource to handle clickhouse databases.
---

# clickhouse_db (Resource)

Resource to handle clickhouse databases.



<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `name` (String) Database name

### Optional

- `cluster` (String) Cluster name, not mandatory but should be provided if creating a db in a clustered server
- `comment` (String) Comment about the database

### Read-Only

- `data_path` (String) Database internal path
- `engine` (String) Database engine
- `id` (String) The ID of this resource.
- `metadata_path` (String) Database internal metadata path
- `uuid` (String) Database UUID


